From 01921f8046e2a93bb1990c56e9f65a59c24a89c8 Mon Sep 17 00:00:00 2001 From: "emellor@ewan" Date: Sun, 9 Oct 2005 11:52:24 +0100 Subject: [PATCH] Change xenbus callbacks to match new signature of xenbus_watch. Signed-off-by: Ewan Mellor --- linux-2.6-xen-sparse/arch/xen/kernel/reboot.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c index fddc705c7e..b83f136f70 100644 --- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c @@ -270,7 +270,8 @@ static void __shutdown_handler(void *unused) } } -static void shutdown_handler(struct xenbus_watch *watch, const char *node) +static void shutdown_handler(struct xenbus_watch *watch, + const char **vec, unsigned int len) { static DECLARE_WORK(shutdown_work, __shutdown_handler, NULL); char *str; @@ -315,7 +316,8 @@ static void shutdown_handler(struct xenbus_watch *watch, const char *node) } #ifdef CONFIG_MAGIC_SYSRQ -static void sysrq_handler(struct xenbus_watch *watch, const char *node) +static void sysrq_handler(struct xenbus_watch *watch, const char **vec, + unsigned int len) { char sysrq_key = '\0'; int err; @@ -411,4 +413,3 @@ subsys_initcall(setup_shutdown_event); * tab-width: 8 * End: */ -# -- 2.30.2